package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.*;

import java.util.List;

/**
 * @Author: zhao
 * @Date: 2020/12/4 18:58
 */
public interface RepertoryService {

    /**
     * 保存报损单
     * @param damageList
     * @param damageListGoodsStr
     * @return
     */
    ServiceVO damageListGoods(DamageList damageList, String damageListGoodsStr,String damageNumber);

    /**
     * 新增报溢单
     * @param overflowList
     * @param overflowListGoodsStr
     * @return
     */
    ServiceVO overflowListGoods(OverflowList overflowList, String overflowListGoodsStr);

    /**
     * 报损单查询
     * @param sTime
     * @param eTime
     * @return
     */
    List<DamageList> damageListGoodsList(String sTime, String eTime);

    /**
     * 查询报损单商品信息
     * @param damageListId
     * @return
     */
    List<DamageListGoods> damageListGoodsGoodsList(Integer damageListId);

    /**
     * 报溢单查询
     * @param sTime
     * @param eTime
     * @return
     */
    List<OverflowList> overflowListlist(String sTime, String eTime);

    /**
     * 报溢单商品信息
     * @param damageListId
     * @return
     */
    List<OverflowListGoods> overflowListGoodsgoodsList(Integer damageListId);
}
